import React, { Component } from 'react';
import { Carousel, WingBlank } from 'antd-mobile';

export default class CarouselDemo extends Component {
 
  state = {
    data: ['AiyWuByWklrrUDlFignR', 'TekJlZRVCjLFexlOCuWn', 'IJOtIlfsYdTyaDTRVrLI']
  }

  render() {
    return (
      <div className="demo-carousel-demo">
        <Carousel
          autoplay={true}
          infinite={true}
        >
          {this.state.data.map(val => (
              <img className="img"
                src={`https://zos.alipayobjects.com/rmsportal/${val}.png`}
                alt="" />
          ))}
        </Carousel>
      </div>
    );
  }
}

